log/slog.commonHandler.withAttrs (method)

4 uses

	log/slog (current package)
		handler.go#L121: 	return &defaultHandler{h.ch.withAttrs(as), h.output}
		handler.go#L225: func (h *commonHandler) withAttrs(as []Attr) *commonHandler {
		json_handler.go#L53: 	return &JSONHandler{commonHandler: h.commonHandler.withAttrs(attrs)}
		text_handler.go#L51: 	return &TextHandler{commonHandler: h.commonHandler.withAttrs(attrs)}